package com.jiyun.jiyunmall.product.service;

import com.jiyun.jiyunmall.common.service.CrudService;
import com.jiyun.jiyunmall.product.dto.AttrDTO;
import com.jiyun.jiyunmall.product.dto.AttrGroupDTO;
import com.jiyun.jiyunmall.product.entity.AttrEntity;

import java.util.List;

/**
 * 商品属性
 *
 * @author boge 71164376@qq.com
 * @since 1.0.0 2022-07-12
 */
public interface AttrService extends CrudService<AttrEntity, AttrDTO> {

    List<AttrDTO> getByLikeName(String attrName);

    List<AttrGroupDTO> attrWithGroup(String catgoryId);

    List<AttrDTO> saleAttr(String catgoryId);

}